// 存放 面试题 相关的请求

import request from '@/utils/request'

export function articleListAPI (params) {
  return request({
    url: '/h5/interview/query',
    params: params
  })
}

export function articleAPI (id) {
  return request({
    url: '/h5/interview/show',
    params: { id }
  })
}

export function collectAndLikeListAPI (data) {
  return request({
    method: 'POST',
    url: '/h5/interview/opt',
    data: data
  })
}

export function collectAndLikeAPI (params) {
  return request({
    url: '/h5/interview/opt/list',
    params: params
  })
}
